package net.hn.hnms.biz.attendance.domain;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 
 * @TableName ods_iris_alcohol_question_record
 */
@TableName(value ="iris_alcohol_question_record")
@Data
public class OdsIrisAlcoholQuestionRecord  implements Serializable {
    /**
     * id
     */
    @ApiModelProperty(value = "id")
    private Integer id;
    /**
     * 
     */
    @ApiModelProperty(value = "姓名")
    private String personName;

    /**
     * 
     */
    @ApiModelProperty(value = "工号")
    private String personNumber;

    /**
     * 
     */
    @ApiModelProperty(value = "部门")
    private String departName;

    /**
     * 
     */  @ApiModelProperty(value = "签到时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date recognizeTime;

    /**
     * 
     */
    @ApiModelProperty(value = "识别设备")
    private String deviceName;

    /**
     * 
     */
    @ApiModelProperty(value = "识别位置")
    private String devicePosition;

    /**
     * 
     */
    @ApiModelProperty(value = "酒检结果")
    private String alcoholResult;

    /**
     * 
     */
    @ApiModelProperty(value = "答题结果")
    private String questionResult;

    /**
     * 
     */
    @ApiModelProperty(value = "体温结果")
    private String temperatureResult;

    /**
     * 
     */
    @ApiModelProperty(value = "创建",hidden=true)
    @TableField(value = "create_time", fill = FieldFill.INSERT_UPDATE)
    private Date createTime;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}